<?php
class user_model extends MY_Model {
	
	public $table = 'USERS';
		public $join = ' left join LEVELS on LEVELS.ID = USERS.LEVEL_ID left join AGENCIES on AGENCIES.ID = USERS.AGENCY_ID';
	public $select = 'USERS.*,LEVELS.NAME LEVEL_NAME,AGENCIES.NAME AGENCY_NAME';
	
    function __construct()
    {
        parent::__construct();
    }
	
}
?>